﻿#region Header

// <file>
//     <copyright see="prj:///doc/copyright.txt"/>
//     <license see="prj:///doc/license.txt"/>
//     <owner name="Mike Krüger" email="mike@icsharpcode.net"/>
//     <version>$Revision: 1965 $</version>
// </file>

#endregion Header

namespace ICSharpCode.TextEditor.Document
{
    using System.Collections.Generic;

    /// <summary>
    /// This interface is used for the folding capabilities
    /// of the textarea.
    /// </summary>
    public interface IFoldingStrategy
    {
        #region Methods

        /// <remarks>
        /// Calculates the fold level of a specific line.
        /// </remarks>
        List<FoldMarker> GenerateFoldMarkers(IDocument document, string fileName, object parseInformation);

        #endregion Methods
    }
}